selectLine

public static EditorCommand selectLine()

Returns a command that allows selecting a line at the caret position in a text area or a WYSIWYG editor.